import { defineConfig } from 'vite'
		import vue from '@vitejs/plugin-vue'
		
		// https://vitejs.dev/config/
		export default defineConfig({
		  plugins: [vue()],
		  server: {
				port: 8081,
				open: false,
				base: "./",
				proxy: {
					'/api': {
						target: 'http://localhost:2024/',
						changeOrigin: true,
						rewrite: (path) => path.replace(/^\/api/, '')
					}
				}
		
			},
			css:{
				preprocessorOptions:{
					scss:{
						additionalData:'@import "./src/style/scssConfig.scss";'
					}
				}
			},
		
		})
		